SyPaymentAccount 
Logical Entity Name  SyPaymentAccount 
Default Table Name  SyPaymentAccount 
Physical Only  NO 
Definition 
 
Note 
 

SyPaymentAccount Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SyPaymentAccountID(PK)    int  NO 
 
Code    char(8)  NO 
 
Descrip    varchar(50)  NO 
 
Partner    varchar(50)  NO 
 
VendorID    varchar(50)  NO 
 
SchoolUserID    varchar(50)  NO 
 
SchoolPassword    varchar(130)  YES 
 
TransFeeType    char(1)  NO 
 
TransFeeNum    numeric(12, 2)  YES 
 
TransFeeMin    numeric(12, 2)  YES 
 
TransFeeMax    numeric(12, 2)  YES 
 
TransFeeSource    char(1)  YES 
 
TransFeeSaBillCodeID(FK)    int  YES 
 
TransMin    numeric(12, 2)  YES 
 
TransMax    numeric(12, 2)  YES 
 
UserID(FK)    int  YES 
 
DateAdded    datetime  YES 
 
DateLstMod    datetime  YES 
 
Ts    timestamp  NO 
 
TestMode    bit  NO 
 
PasswdRandomKey    varchar(258)  YES 
 
IV    varchar(100)  YES 
 
SyPaymentProcessorID(FK)    int  YES 
 
AuthAmount    money  NO 
 

SyPaymentAccount Primary and Unique Keys 
Key Name  Key Type  Keys 
SyPaymentAccount_Code_U_N_IDX  Index  Code 
SyPaymentAccount_SyPaymentAccountID_U_C_IDX  PrimaryKey  SyPaymentAccountID 

SyPaymentAccount Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SyPaymentProcessor  Non-Identifying  Zero or One to Zero or More  FK_SyPaymentAccount_SyPaymentProcessorID_SyPaymentProcessor_SyPaymentProcessorID      SyPaymentProcessorID  NO  YES 
SaBillCode  Non-Identifying  Zero or One to Zero or More  FK_SyPaymentAccount_TransFeeSaBillCodeID_SaBillCode_SaBillCodeID      TransFeeSaBillCodeID  NO  YES 
SyStaff  Non-Identifying  Zero or One to Zero or More  FK_SyPaymentAccount_UserID_SyStaff_SyStaffID      UserID  NO  YES 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 
SyCampus  Non-Identifying  One To Zero or More  FK_SyCampus_SyPaymentAccountID_SyPaymentAccount_SyPaymentAccountID        NO  YES 

SyPaymentAccount Check Constraints 
Check Constraint Name  CheckConstraint 
Chk_SyPaymentAccount_TransMax  ([TransMax] >= [TransMin]) 
Chk_SyPaymentAccount_TransFeeMax  ([TransFeeMax] >= [TransFeeMin]) 
Chk_SyPaymentAccount_TransFeeNum_Num  ([TransFeeType] = 'P' or [TransFeeNum] >= [TransFeeMin] and [TransFeeNum] <= [TransFeeMax]) 
Chk_SyPaymentAccount_TransFeeNum_Pct  ([TransFeeType] = 'F' or [TransFeeNum] >= 0 and [TransFeeNum] <= 100)